package com.itheima.Demo01.demo01;

public class ClassLoaDer {
    public static void main(String[] args) {
        //系统类加载器,
        ClassLoader loader = ClassLoader.getSystemClassLoader();
        //系统类加载器的父类平台类加载器
        ClassLoader classLoader = loader.getParent();
        //平台类加载器的父类启动类加载器  JVM虚拟机最终的类加载器
        ClassLoader classLoader1 = classLoader.getParent();

        System.out.println("系统类加载器"+loader);
        System.out.println("平台类加载器"+classLoader);
        System.out.println("启动类加载器"+classLoader1);
    }
}
